﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace bChatServerComm
{
    [DataContract]
    public class CommUser
    {
        [DataMember]
        public int UserID { get; set; }

        [DataMember]
        public string DisplayName { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public DateTime Inserted { get; set; }

    }

    [DataContract]
    public class CommChannel
    {
        [DataMember]
        public int ChannelID { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public int OwnerUserID { get; set; }

        [DataMember]
        public DateTime Created { get; set; }

        [DataMember]
        public string MOTD { get; set; }

        [DataMember]
        public string Topic { get; set; }

        [DataMember]
        public int Type { get; set; }

    }
}
